﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BBPA.BLL
{
    public partial class Orders_Goods
    {
        /// <summary>
        /// 订单某货品预计现场给供货商支付的采购款
        /// </summary>
        /// <param name="Orders_GoodsID"></param>
        /// <returns></returns>
        //public static decimal Get_Orders_Goods_ExpectPay(object Orders_GoodsID)
        //{
        //    decimal returnVal = 0;
        //    BLL.V_Orders_Goods bllOrders_Goods = new V_Orders_Goods();
        //    foreach (Model.V_Orders_Goods model in bllOrders_Goods.GetModelList("id=" + Orders_GoodsID + " and IsLatePay=0"))
        //    {
        //        returnVal += model.ExpectAmount * DataTypePlus.requestDecimal(model.BuyPrice);
        //    }
        //    return returnVal;
        //}
    }
}
